﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerSales.aspx.cs" Inherits="Web.PuntoDeVenta.App.CustomerSales" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Import Namespace="Web.Framework.Translate" %>
<%@ Register Assembly="Web.Framework" Namespace="Web.Framework.Controls" TagPrefix="Crm" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <link href="/Styles/GridStyle.css" rel="stylesheet" type="text/css" />
 <link href="/Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/jquery-ui-1.8.15.custom.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/CustomerStyle.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/jquery.datepick.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/ui.dropdownchecklist.standalone.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.6.1.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-ui-1.8.13.custom.min.js" type="text/javascript"></script>
    <script src="/Scripts/ui.dropdownchecklist.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.datepick.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.datepick-es-AR.js" type="text/javascript"></script>
    <script src="/Scripts/CustomerSearch.js?reload=3" type="text/javascript"></script>
    <script src="/Scripts/json2.min.js" type="text/javascript"></script>
    <script src="/Scripts/jqueryWCF.js" type="text/javascript"></script>
    <script src="/Scripts/inputshints.js" type="text/javascript"></script>
    <script src="/Scripts/DirtyCheck.js" type="text/javascript"></script>
    <script src="/Scripts/GridCtrl.js" type="text/javascript"></script>
    <link href="/Styles/GridCss.css" rel="stylesheet" type="text/css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Panel ID="pnlVentas" CssClass="editionContainerForGrid" runat="server" ClientIDMode="Static">
            <div class="clear">
            </div>
            <Crm:GridCtrl ID="GridCtrlVentas" runat="server" TableBorder="1" CollapseImageSrc="/images/iconBig_blockcollapsed.png"
                ExpandImageSrc="/images/iconBig_blockexpanded.png" />
        </asp:Panel>
        <div class="clear">
        </div>
             <asp:Panel ID="pnlMessages" runat="server" CssClass="pnlMessagesClass displayNone"
            ClientIDMode="Static">
            <h2>
                <asp:Label ID="txtErrorTitle" runat="server" Text="" CssClass="errorTitle" ClientIDMode="Static"></asp:Label>
            </h2>
            <asp:Panel ID="pnlError" CssClass="errorPanelMessage" ClientIDMode="Static" runat="server">
                <p>
                    <asp:Label ID="txtMessages" runat="server" Text="" CssClass="errorMessage" ClientIDMode="Static"></asp:Label>
                </p>
            </asp:Panel>
        </asp:Panel>
    </div>
    </form>
    <script type="text/javascript" language="javascript" >

        $(document).ready(function () {

            new GridCtrl('<%= this.GridCtrlVentas.ClientID %>');

        });

//        function getHeight() {
//            return document.body.scrollHeight;
//        }

//        function autoResize(id) {
//            var newheight;
//            var newwidth;

//            if (document.getElementById) {
//                newheight = document.getElementById(id).contentWindow.document.body.scrollHeight;
//                newwidth = document.getElementById(id).contentWindow.document.body.scrollWidth;
//            }

//            document.getElementById(id).height = (newheight) + "px";
//            document.getElementById(id).width = (newwidth) + "px";
//        }

    </script>


</body>
</html>
